Carbon


MPProcessorsScheduled

Header: Multiprocessing.h Carbon status: Supported

Returns the number of active processors available on the host computer.

ItemCount MPProcessorsScheduled ();
function result

The number of active processors available on the host computer. 0

DISCUSSION

The number of active processors is defined as the number of processors scheduled to run tasks. This number varies while the system is running. Advanced power management facilities may stop or start scheduling processors in the system to control power consumption or to maintain a proper operating temperature.

See also the function MPProcessors.

VERSION NOTES

Introduced with Multiprocessing Services 2.0.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when MPLibrary 2.0 or later is installed. Exported by CarbonLib 1.0 and later and by MPLibrary 2.0 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/6/2000)